﻿@using ThuySan.Areas.Backend.Models
@{
    if (ViewData.ContainsKey(Header.Key))
    {
        Header header = ViewData[Header.Key] as Header;
        if (header != null)
        {
            if (!string.IsNullOrEmpty(header.PageHeader))
            {
                <h2>
                    @header.PageHeader
                </h2>
            }
            if (!string.IsNullOrEmpty(header.PageDescription))
            {
                <p id="page-intro">
                    @header.PageDescription
                </p>
            }
        }
    }
}